package com.jrx.anytxn.customer.dto.customer;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.util.Date;

/**
 * 页面客户展示返回
 * @author qingyao.xing
 * @version 1.0
 * @date 2019/11/1
 */
public class CustomerPageRes {
    /*
     * 中文名 一级表
     */
    private String chineseName;
    /*
     * 租户id
     */
    private String tenantId;
     /*
      * 机构号 一级表
      */
    private String orgId;
    /*
     * 用户id 二级表
     */
    private String userId;
     /*
      * 性别 一级表
      */
    private String sex;
    /*
     * 状态 二级表
     */
    private String customerStatus;

    /*
     * 证件类型 一级表
     */
    private String idType;
    /*
     * 证件号 一级表
     */
    private String idNumber;
    /*
     * 客户id 一级表
     */
    private String customerId;
    /*
     * 渠道 二级表
     */
    private String channel;
     /*
      * 创建时间 二级表
      */
     @JsonFormat(pattern = "yyyy-MM-dd")
    private Date createTime;
    /*
     * 手机号 二级表
     */
    private String mobile;
    /*
     * 发证机关 一级表
     */
    private String idIssueAgent;

    /*
     * 客户标志 二级表
     */
    private String customerGroup;

    /*
     * 核心ID 一级表
     */
    private String ecifId;

    /*
     * 账单日 二级表
     */
    private Integer statementDd;

    /*
     * 还款日 二级表
     */
    private Integer paymentDd;

    /**
     * 客户类型	0 = 自营客户1 = 合作方客户2 = 兼有类型
     * 表字段:customer_type
     */
    private String customerType;


    public String getCustomerType() {
        return customerType;
    }

    public void setCustomerType(String customerType) {
        this.customerType = customerType;
    }

    public String getIdIssueAgent() {
        return idIssueAgent;
    }

    public void setIdIssueAgent(String idIssueAgent) {
        this.idIssueAgent = idIssueAgent;
    }

    public String getChineseName() {
        return chineseName;
    }

    public void setChineseName(String chineseName) {
        this.chineseName = chineseName;
    }

    public String getTenantId() {
        return tenantId;
    }

    public void setTenantId(String tenantId) {
        this.tenantId = tenantId;
    }

    public String getOrgId() {
        return orgId;
    }

    public void setOrgId(String orgId) {
        this.orgId = orgId;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public String getCustomerStatus() {
        return customerStatus;
    }

    public void setCustomerStatus(String customerStatus) {
        this.customerStatus = customerStatus;
    }

    public String getIdNumber() {
        return idNumber;
    }

    public void setIdNumber(String idNumber) {
        this.idNumber = idNumber;
    }

    public String getCustomerId() {
        return customerId;
    }

    public void setCustomerId(String customerId) {
        this.customerId = customerId;
    }

    public String getChannel() {
        return channel;
    }

    public void setChannel(String channel) {
        this.channel = channel;
    }

    public String getIdType() {
        return idType;
    }

    public void setIdType(String idType) {
        this.idType = idType;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getMobile() {
        return mobile;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile;
    }

    public String getCustomerGroup() {
        return customerGroup;
    }

    public void setCustomerGroup(String customerGroup) {
        this.customerGroup = customerGroup;
    }

    public String getEcifId() {
        return ecifId;
    }

    public void setEcifId(String ecifId) {
        this.ecifId = ecifId;
    }

    public Integer getStatementDd() {
        return statementDd;
    }

    public void setStatementDd(Integer statementDd) {
        this.statementDd = statementDd;
    }

    public Integer getPaymentDd() {
        return paymentDd;
    }

    public void setPaymentDd(Integer paymentDd) {
        this.paymentDd = paymentDd;
    }
}